﻿namespace CoreEx.Database.Client
{
    /// <summary>
    /// Represents provider specific connection information 
    /// </summary>
    public interface IConnectionInfo
    {
        /// <summary>
        /// Gets or sets the name of the connection.
        /// </summary>
        string Name { get; set; }

        /// <summary>
        /// Gets or sets the invariant name of the provider.
        /// </summary>        
        string ProviderName { get; set; }

        /// <summary>
        /// Gets or sets The connection string that is used to access the database
        /// </summary>
        string ConnectionString { get; set; }
    }
}
